home *** CD-ROM | disk | FTP | other *** search
/ SGI Developer Toolbox 6.1 / SGI Developer Toolbox 6.1 - Disc 1.iso / toolbox / src / tutorials / custEducation / opengl1 / examples / viewports / README < prev    next >
Encoding:
Text File  |  1996-11-11  |  860 b   |  29 lines

  1.  
  2.         to compile programs in the above-indicated sub- directories/trees,
  3.        one must load libglut. inst-able images of GLUT v3.1 are located at 
  4.                 toolbox/src/exampleCode/opengl/GLUT/inst/ 
  5.  
  6.                   -------------------------------------
  7.  
  8.       ~opengl1/examples/viewports README
  9.  
  10.             Copyright 1991-1996, Silicon Graphics,  Inc.
  11.             Technical Education Development
  12.             All Rights Reserved.
  13.  
  14.  
  15.  
  16.    viewport.c:  demonstrates how to set up more than one viewport in 
  17.         a window.  Also demonstrates how the aspect ratio can effect the
  18.         ways objects appear in the window
  19.  
  20.     SPACE key        - toggle which viewport the grid is drawn in
  21.     Escape Key              - exit the program
  22.  
  23.  
  24.    aspect.c:      demonstrates how to set up a viewport with a 1-to-1 aspect
  25.         ratio
  26.  
  27.         Escape Key              - exit the program
  28.  
  29.